<div class="wrap" ng-init="setCurrentType(0)">
	<!-- banner  -->
	<div class="index-banner inner-banner">
	  <img src="images/innerbanner02.jpg" alt="">
	</div>

	<div class="article-list">
		<!-- 面包屑导航		 -->
		<div class="crumbs mb10">
			<p class="fl">
				<span><a ng-click="loopTo('resource/center')">资源中心</a><em> > </em></span>
				<span><a href="">乳腺外科</a><em> > </em></span>
			</p>
		</div>
		
		<div class="article-list-body">
			<!-- 左边 -->
			<div class="pageleft">
				<!-- filter框 -->
				<form ng-submit="search(1)">
					<div class="filter-box">
						<ul>
							<li>
								<span>分类:</span>
								<dl>
									<dd ng-class="{'active':!content_type}" ng-click="setCurrentType(0)">全部</dd>
									<dd ng-class="{'active':content_type=='1'}" ng-click="setCurrentType(1)">图文</dd>
									<dd ng-class="{'active':content_type=='2'}" ng-click="setCurrentType(2)">视频</dd>
								</dl>	
							</li>
							<li>
								<span>关键词:</span>
								<input type="text" placeholder="搜索热点图文/视频" class="search" ng-model="keywords">
								<button class="btn-search blue-btn" type="submit">搜索</button>
							</li>
						</ul>
					</div>
				</form>
					
				<!-- list -->
				<p class="nodata" ng-if="!article_list">暂无文章资源，敬请期待！</p>
				<ul class="list" ng-if="article_list">
					<li ng-repeat="article in article_list" ng-click="loopToNew('#/resource/article-detail/'+article.id)">
						<div class="pic">
							<img ng-src="{{article.path}}" alt="">
						</div>
						<p class="f19 mb10" ng-bind="article.title"></p>
						<p class="desc" ng-bind="article.description"></p>
						<p class="mt10">
							<i class="iconfont icon-avatar"></i>
							<span ng-bind="article.writer"></span>
							<i class="iconfont icon-calendar"></i>
							<em class="f13" ng-bind="article.create_time*1000|date:'yyyy-MM-dd'"></em>
						</p>
					</li>
				</ul>
			</div>
			
			<!-- 右边 -->
			<div class="pageright">
				<div class="block">
	        <div class="title">
	          <b>名医有约</b>
	          <a href="" class="fr f12">更多</a>
	        </div>
	        <ul class="list">
	          <li>
	            <div class="avatar">
	              <div class="pic"><img src="images/avatar01.jpg" alt=""></div>
	              <p><span class="name">沈坤炜</span><span>主任医师</span></p>
	              <p class="mt5">上海市瑞金医院乳腺中心</p>
	            </div>
	          </li>
	          <li>
	            <div class="avatar">
	              <div class="pic"><img src="images/avatar02.jpg" alt=""></div>
	              <p><span class="name">李亚芬</span><span>主任医师</span></p>
	              <p class="mt5">上海市瑞金医院乳腺中心</p>
	            </div>
	          </li>
	          <li>
	            <div class="avatar">
	              <div class="pic"><img src="images/avatar03.jpg" alt=""></div>
	              <p><span class="name">陈小松</span><span>主任医师</span></p>
	              <p class="mt5">上海市瑞金医院乳腺中心</p>
	            </div>
	          </li>
	          <li>
	            <div class="avatar">
	              <div class="pic"><img src="images/avatar04.jpg" alt=""></div>
	              <p><span class="name">陈伟国</span><span>主任医师</span></p>
	              <p class="mt5">上海市瑞金医院乳腺中心</p>
	            </div>
	          </li>
	        </ul>
	      </div>
			</div>
		</div>

		<!-- 关键词 -->
		<ul uib-pagination total-items="totalItems" ng-model="$parent.currentPage" items-per-page="perPage" class="pagination-sm" boundary-link-numbers="true" template-url="../node_modules/angular-ui-bootstrap/template/pagination/pagination.html" ng-change="search(currentPage)" ng-if="keywords&&article_list"></ul>

		<!-- 非关键词 -->
		<ul uib-pagination total-items="totalItems" ng-model="$parent.currentPage" items-per-page="perPage" class="pagination-sm" boundary-link-numbers="true" template-url="../node_modules/angular-ui-bootstrap/template/pagination/pagination.html" ng-change="getArticles()" ng-if="!keywords&&article_list"></ul>
	</div>
</div>